package net.huashitong.Project.responseModel;

import net.huashitong.Project.entity.NewProjects;
import net.huashitong.node.entity.NodeNewschedules;

public class ItemResponseModel {
    private NewProjects item;   //项目
    private int nodeNeed;       //需要的所有小节点
    private int nodeFinish;     //已完成的小节点数
    private int nodeBegin;      //已开始小节点数
    private int nodeNoBegin;    //未开始小节点数
    private NodeNewschedules nextSmallNode; //小节点

    public ItemResponseModel(NewProjects item, int nodeNeed, int nodeFinish, int nodeBegin, int nodeNoBegin, NodeNewschedules nextSmallNode) {
        this.item = item;
        this.nodeNeed = nodeNeed;
        this.nodeFinish = nodeFinish;
        this.nodeBegin = nodeBegin;
        this.nodeNoBegin = nodeNoBegin;
        this.nextSmallNode = nextSmallNode;
    }

    public ItemResponseModel() {
    }

    public int getNodeBegin() {
        return nodeBegin;
    }

    public void setNodeBegin(int nodeBegin) {
        this.nodeBegin = nodeBegin;
    }

    public int getNodeNoBegin() {
        return nodeNoBegin;
    }

    public void setNodeNoBegin(int nodeNoBegin) {
        this.nodeNoBegin = nodeNoBegin;
    }

    public NewProjects getItem() {
        return item;
    }

    public void setItem(NewProjects item) {
        this.item = item;
    }

    public int getNodeNeed() {
        return nodeNeed;
    }

    public void setNodeNeed(int nodeNeed) {
        this.nodeNeed = nodeNeed;
    }

    public int getNodeFinish() {
        return nodeFinish;
    }

    public void setNodeFinish(int nodeFinish) {
        this.nodeFinish = nodeFinish;
    }

    public NodeNewschedules getNextSmallNode() {
        return nextSmallNode;
    }

    public void setNextSmallNode(NodeNewschedules nextSmallNode) {
        this.nextSmallNode = nextSmallNode;
    }
}
